{include file="public/header" /}

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <input type="text" name="username" placeholder="请输入用户名" value="{:input('get.username')}"  autocomplete="off"
                                class="layui-input">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <input type="text" name="page" placeholder="请输入页数" value="{:input('page')}" autocomplete="off"
                                   class="layui-input">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="sreach"><i
                                    class="layui-icon">&#xe615;</i></button>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header">

                </div>
                <div class="layui-card-body layui-table-body layui-table-main">
                    <table class="layui-table layui-form">
                        <thead>
                            <tr>
                                <th><div class="layui-table-cell">ID</div></th>
                                <th><div class="layui-table-cell">账号名称</div></th>
                                <th><div class="layui-table-cell">登录ip</div></th>
                                <th><div class="layui-table-cell">登陆信息</div></th>
                                <th><div class="layui-table-cell">登陆时间</div></th>
                            </tr>
                        </thead>
                        <tbody>
                            {foreach $list as $v}
                            <tr>
                                <td><div class="layui-table-cell">{$v.id}</div></td>
                                <td><div class="layui-table-cell">{$v.username}</div></td>
                                <td><div class="layui-table-cell">{$v.login_ip}</div></td>
                                <td><div class="layui-table-cell">{$v.info}</div></td>
                                <td><div class="layui-table-cell">{$v.created}</div></td>
                            </tr>
                            {/foreach}

                        </tbody>
                    </table>
                </div>
                <div class="layui-card-body ">
                    <div class="page">
                        {$list->render()|raw}
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
</body>
{include file="public/footer"}